n = 1
m=n//2+1
while m**2>n:
    m=m//2+1
for i in range(m,n//2+2):
    if i*i==n or n==1:
        print("yes")
        break
    elif i*i>n:
        print("no")
        break
    else:
        continue